package com.erik.lin.domain;

/**
 * Created by Erik on 2017/4/5.
 */
public class Person extends Animal {

    private String name;

    public Person(int age, String gender, String name) {
        super(age, gender);
        this.name = name;
    }

    public Person() {
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
